<template>
  <WorkList :list="list" is-case></WorkList>
</template>
<script setup>
import { getCaseList } from '../../api/case';
import WorkList from './work-list.vue';

const list = ref([]);

const init = async () => {
  const res = await getCaseList();
  list.value = res.data;
};

init();
</script>
<style lang="less" scoped></style>
